package com.zyk.scaffold.user.service;

import com.zyk.scaffold.user.entity.FunctionApi;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户-功能api关系表 服务类
 * </p>
 *
 * @author zhouyk
 * @since 2022-01-24
 */
public interface FunctionApiService extends IService<FunctionApi> {

    Boolean refreshFunctionApi(Long userId);

    Boolean refreshFunctionApi(String config, Long userId);

    List<FunctionApi> getFunctionApisByFunctionIds(List<Long> functionIds);
}
